package org.kk.service;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

/**
 * the type of springcloud-alibaba
 *
 * <p>
 * .
 *
 * @author 铁甲小宝
 * @date 2022-12-06
 */
@Service
public class NacosPaymentService {

    @Value("${spring.application.name}")
    private String name;
    @Value("${server.port}")
    private String port;

    public String name(){
        return name + ": " + port;
    }
}
